package com.aaa.service;

import com.aaa.pojos.PackBean;
import com.aaa.pojos.Student;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface StudentService {
    PackBean<Student> query(String name,
                            Integer degree,
                            Integer clazzId,
                            int page,
                            int pageSize);

    void insertStudent(Student student);

    Student queryId(Integer id);

    void updateStudent(Student student);

    void deleteStudent(List<Integer> ids);


    void violation(Integer id, Integer score);

}
